/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SERVLET;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author Alice
 */
public class LandingBuyerServlet extends HttpServlet {

   

    
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        String docType=
         "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n";    
out.println(docType+"<html>");
out.println("<head>");
out.println("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">");
out.println("<title>LANDINGBUYER Page</title>");
out.println("<meta name=\"generator\" content=\"WYSIWYG Web Builder 8 - http://www.wysiwygwebbuilder.com\">");
out.println("<style type=\"text/css\">");
out.println("body{");
out.println("   background-color: #FFFFFF;");
out.println("   color: #000000;}");
out.println("</style>");
out.println("<style type=\"text/css\">");
out.println("a{");
out.println("   color: #C8D7EB;");
out.println("   outline: none;");
out.println("   text-decoration: underline;}");
out.println("a:visited{");
out.println("   color: #C8D7EB;}");
out.println("a:active{");
out.println("   color: #C8D7EB;}");
out.println("a:hover{");
out.println("   color: #376BAD;");
out.println("   text-decoration: underline;}");
out.println("</style>");
out.println("<style type=\"text/css\">");
out.println("#wb_Text1 {");
out.println("   background-color: transparent;");
out.println("   border: 0px #000000 solid;");
out.println("   padding: 0;}");
out.println("#wb_Text1 div{");
out.println("   text-align: left;}");
out.println("#Combobox1{");
out.println("   border: 1px #C0C0C0 solid;");
out.println("   background-color: #FFFFFF;");
out.println("   color: #000000;");
out.println("   font-family: Arial;");
out.println("   font-size: 13px;}");
out.println("#wb_Text2 {");
out.println("   background-color: transparent;");
out.println("   border: 0px #000000 solid;");
out.println("   padding: 0;}");
out.println("#wb_Text2 div{");
out.println("   text-align: left;}");
out.println("#wb_Text3 {");
out.println("   background-color: transparent;");
out.println("   border: 0px #000000 solid;");
out.println("   padding: 0;}");
out.println("#wb_Text3 div{");
out.println("   text-align: left;}");
out.println("</style>");
out.println("</head>");
out.println("<body>");
out.println("<div id=\"wb_Text1\" style=\"position:absolute;left:338px;top:64px;width:279px;height:34px;z-index:0;\">");
out.println("<span style=\"color:#000000;font-family:Arial;font-size:29px;\"><strong>Page del Buyer</strong></span></div>");
out.println("<select name=\"Combobox1\" size=\"1\" id=\"Combobox1\" style=\"position:absolute;left:86px;top:288px;width:154px;height:27px;z-index:1;\">");
out.println("<option>Ortaggi</option>");
out.println("<option>Formaggi</option>");
out.println("<option>Frutta</option>");
out.println("<option>Agrumi</option>");
out.println("<option>Prodotti Esotici</option>");
out.println("<option>Prodotti Secchi</option>");
out.println("</select>");
out.println("<div id=\"wb_Text2\" style=\"position:absolute;left:84px;top:216px;width:246px;height:18px;z-index:2;\">");
out.println("<span style=\"color:#000000;font-family:Arial;font-size:16px;\"><u>Categoria dei Prodotti in vendita :</u></span></div>");
out.println("<button id=\"AdvancedButton1\" onclick=\"location.href=\'http://localhost:8084/PRIMO_PROGETTO_WEB/LogoutServlet\'\" type=\"button\" name=\"\" value=\"\" style=\"position:absolute;left:385px;top:507px;width:131px;height:33px;z-index:3;\"><div style=\"text-align:center\"><span style=\"color:#000000;font-family:Arial;font-size:13px\">LOGOUT</span></div></button>");
out.println("<div id=\"wb_Text3\" style=\"position:absolute;left:84px;top:168px;width:303px;height:18px;z-index:4;\">");
out.println("<span style=\"color:#000000;font-family:Arial;font-size:16px;\">Scegliere categoria del prodotto cercato.</span></div>");
out.println("<button id=\"AdvancedButton2\" type=\"button\" name=\"\" value=\"\" style=\"position:absolute;left:91px;top:336px;width:136px;height:32px;z-index:5;\"><div style=\"text-align:center\"><span style=\"color:#000000;font-family:Arial;font-size:13px\">CERCA</span></div></button>");

out.println("</body>");
out.println("</html>");
    }

    
}
